import { Provide, Inject } from '@midwayjs/core';
import { BaseService } from '@cool-midway/core';
import { InjectEntityModel } from '@midwayjs/typeorm';
import { Repository } from 'typeorm';
import { NursingPersonEntity } from '../entity/person';

/**
 * 被护理人信息
 */
@Provide()
export class NursingPersonService extends BaseService {
  @InjectEntityModel(NursingPersonEntity)
  nursingPersonEntity: Repository<NursingPersonEntity>;

  @Inject()
  ctx;
}
